CommandName{addTreeViewItem}HelpPath{Special}ReturnValue{handle item=}OpenBrace{(}Parameters{handle gadget, handle parentItem, int image, str text}CloseBrace{)}Description{Adds a new item to a treeview.  A treeview item has an image and a piece of text.  Unlike listboxes and comboboxes, treeviews use handles for items rather than indicies.  When you want to modify an item pass the handle returned by addTreeViewItem to the treeview functions.
<br>
In order to use images, you must have assigned an image list to the treeview using setTreeViewImageList.}ReturnDescription{Handle of the new treeview item.}Param1{gadget}Param1Desc{Handle of a treeview gadget}Param2{parentItem}Param2Desc{Handle of a treeview item.  The new item will be created as a child of the parent item.  If this parameter is 0, the new item is added to the root of the treeview.}Param3{image}Param3Desc{Index of the image to use for the item.  In order to use images you must add an imagelist to the treeview.}Param4{text}Param4Desc{The text of the new item.}